package com.joker.aigc.chat.domain.entity.websocket;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Description:
 * Author: <a href="https://github.com/zongzibinbin">abin</a>
 * Date: 2023-03-19
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class WebSocketMsgMarkVo {

    private List<WebSocketMsgMarkItem> markList;

    @Data
    public static class WebSocketMsgMarkItem {

        @Schema(description = "操作者")
        private Long uid;

        @Schema(description = "消息id")
        private Long msgId;

        @Schema(description = "标记类型 1点赞 2举报")
        private Integer markType;

        @Schema(description = "被标记的数量")
        private Integer markCount;

        @Schema(description = "动作类型 1确认 2取消")
        private Integer actType;
    }
}
